<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
	<head>
		<title>修改申请结果</title>
		<script type="text/javascript">
			$(document).ready(function(){
				$("#applyResultForm").validationEngine({
					ajaxFormValidation: true,
					onAjaxFormComplete: function (status, form, json, options){
						if (json === 1) {
							art.dialog.tips("<label class='success'>修改成功！</label>", 1);
			        		$("button").attr("disabled", true);
							window.parent.location.reload();
						}else{
							art.dialog.tips("<label class='error'>修改失败，请刷新页面重试！</label>", 1);
						}
					}
				});
			});
		</script>
	</head>
	<body>
		<div class="container_16">
			<div class="grid_16">
				<div class="content_top">
					<span>修改申请结果</span>
				</div>
				<div class="content_bottom">
					<br />
					<form id="applyResultForm" action="${ctx}/editApplyResult.html" method="post">
						<input type="hidden" id="id" name="id" value="${param.id }" />
						<table cellpadding="0" cellspacing="0" style="margin-left: 30px; width: 350px;">
							<tr>
								<td style="width: 80px;">
									<label>
										申请结果：
									</label>
								</td>
								<td>
									<select id="status" name="status" class="validate[required] input_100">
										<option value="0">申请中</option>
										<option value="1">录取</option>
										<option value="2">拒信</option>
									</select>
								</td>
								<td>
									<label class="btn">
										<input type="submit" value="修改" />
									</label>
								</td>
							</tr>
						</table>
					</form>
				</div>
			</div>		
		</div>
	</body>
</html>
